package com.dhf.framework.web.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 描述：</b>房产证项目实体类<br>
 * @author HoraceHo
 * @version:1.0
 */
public class Housecard implements Serializable {
	private static final long serialVersionUID = 1L;
	
		/**	 *	 */	private Long id;	/**	 *房产证编号	 */	private String cardno;	/**	 *户型	 */	private String housetype;	/**	 *面积	 */	private String acreage;	/**	 *房屋地址	 */	private String houseaddress;	/**	 *所在区	 */	private String locationarea;	/**	 *成交价格	 */	private String price;	/**	 *创建时间	 */	private Date createTime;	/**	 *修改时间	 */	private Date modifyTime;
	
	//业主在数据库中的id
	private int ownerid;
	
	//业主
	private Person owner;		public Long getId() {	    return this.id;	}	public void setId(Long id) {	    this.id=id;	}	public String getCardno() {	    return this.cardno;	}	public void setCardno(String cardno) {	    this.cardno=cardno;	}	public String getHousetype() {	    return this.housetype;	}	public void setHousetype(String housetype) {	    this.housetype=housetype;	}	public String getAcreage() {	    return this.acreage;	}	public void setAcreage(String acreage) {	    this.acreage=acreage;	}	public String getHouseaddress() {	    return this.houseaddress;	}	public void setHouseaddress(String houseaddress) {	    this.houseaddress=houseaddress;	}	public String getLocationarea() {	    return this.locationarea;	}	public void setLocationarea(String locationarea) {	    this.locationarea=locationarea;	}	public String getPrice() {	    return this.price;	}	public void setPrice(String price) {	    this.price=price;	}	public Date getCreateTime() {	    return this.createTime;	}	public void setCreateTime(Date createTime) {	    this.createTime=createTime;	}	public Date getModifyTime() {	    return this.modifyTime;	}	public void setModifyTime(Date modifyTime) {	    this.modifyTime=modifyTime;	}
	public Person getOwner() {
		return owner;
	}
	public void setOwner(Person owner) {
		this.owner = owner;
	}
	public int getOwnerid() {
		return ownerid;
	}
	public void setOwnerid(int ownerid) {
		this.ownerid = ownerid;
	}
	@Override
	public String toString() {
		return "Housecard [id=" + id + ", cardno=" + cardno + ", housetype=" + housetype + ", acreage=" + acreage
				+ ", houseaddress=" + houseaddress + ", locationarea=" + locationarea + ", price=" + price
				+ ", createTime=" + createTime + ", modifyTime=" + modifyTime + ", ownerid=" + ownerid + ", owner="
				+ owner + "]";
	}
	
}

